package com.xxgc.eow.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxgc.eow.entity.TopicLibraryIndexVO;
import com.xxgc.eow.mapper.TopicLibraryIndexVOMapper;
import com.xxgc.eow.service.ITopicLibraryIndexVOService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author:yxh
 * @Date :2023/6/6 - 06 - 06 - 13:02
 */
@Service
public class TopicLibraryIndexVOServiceImpl extends ServiceImpl<TopicLibraryIndexVOMapper, TopicLibraryIndexVO> implements ITopicLibraryIndexVOService {

    @Resource
    private TopicLibraryIndexVOMapper topicLibraryIndexVOMapper;

    @Override
    public List<TopicLibraryIndexVO> getOne(Integer libraryId, Integer chooseId) {
        return topicLibraryIndexVOMapper.selectAllTopicLibraryIndex(libraryId, chooseId);
    }

}
